WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
jet_fwd.h
Go to the documentation of this file.
1// This is not part of WOLF
2// clang-format off
3//
4// Adapted from Ceres Solver 2.2.0 (include/ceres/jet_fwd.h) so that WOLF autodiff does not
5// require Ceres: namespace 'ceres' renamed to 'wolf::autodiff', and 'CERES_' macros and include
6// guards renamed to 'WOLF_AUTODIFF_'. The original license follows.
7//
8// Ceres Solver - A fast non-linear least squares minimizer
9// Copyright 2023 Google Inc. All rights reserved.
10// http://ceres-solver.org/
11//
12// Redistribution and use in source and binary forms, with or without
13// modification, are permitted provided that the following conditions are met:
14//
15// * Redistributions of source code must retain the above copyright notice,
16// this list of conditions and the following disclaimer.
17// * Redistributions in binary form must reproduce the above copyright notice,
18// this list of conditions and the following disclaimer in the documentation
19// and/or other materials provided with the distribution.
20// * Neither the name of Google Inc. nor the names of its contributors may be
21// used to endorse or promote products derived from this software without
22// specific prior written permission.
23//
24// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
28// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34// POSSIBILITY OF SUCH DAMAGE.
35//
36// Author: sergiu.deitsch@gmail.com (Sergiu Deitsch)
37//
38
39#ifndef WOLF_AUTODIFF_PUBLIC_JET_FWD_H_
40#define WOLF_AUTODIFF_PUBLIC_JET_FWD_H_
41
42namespace wolf::autodiff {
43
44// Jet forward declaration necessary for the following partial specialization of
45// std::common_type and type traits.
46template <typename T, int N>
47struct Jet;
48
49} // namespace wolf::autodiff
50
51#endif // WOLF_AUTODIFF_PUBLIC_JET_FWD_H_
Definition: integer_sequence_algorithm.h:50